package net.perretxiko.service;

import java.util.List;

import net.perretxiko.dao.BatuDAO;
import net.perretxiko.dao.ErabiltzaileDAO;
import net.perretxiko.form.Batu;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class PerretxikoServiceImpl implements PerretxikoService{

	@Autowired
	private BatuDAO batuDAO;
	
	@Transactional
	public void addPerretxikoak(Batu batu) {
		// TODO Auto-generated method stub
		
	}

	@Transactional
	public List<Batu> GetZesta(int idZesta) {
		return batuDAO.GetZesta(idZesta);
	}

}
